﻿@using System.Web.Mvc;
@using System.Web.Mvc.Html;
@using Vit.Common.Extensions;
@using Vit.Web.Models;
@using Vit.Web.Helpers;
@helper Render(PageMode pageMode, string sectionName, string pageName, IHtmlString html)
    {
        if (pageMode == PageMode.Design)
        {
    <div style="padding: 10px; background: #acacac;">
        <ul>
            <li><a href="/Page/Section/@(sectionName)?name=@(pageName)" class="dialog">Design</a></li></ul>
        <div>
            @html
        </div>
    </div>
        }
        else
        {
    @html
        }
}
